.asst-page {
  background: #eaf5ff;
  min-height: 100vh;
  padding-bottom: 120rpx;
}

.asst-header {
  height: 100rpx;
  padding: 0 24rpx;
  display: flex;
  align-items: center;
  gap: 16rpx;
}

.title {
  font-size: 36rpx;
  font-weight: 800;
  color: #1b2b3a;
}

.model {
  margin-left: auto;
  color: #6b7b8c;
  font-size: 24rpx;
}

.test-btn {
  padding: 8rpx 16rpx;
  background: #10b981;
  color: #ffffff;
  border-radius: 20rpx;
  font-size: 24rpx;
  margin-right: 16rpx;
}

.more {
  padding: 0 10rpx;
  color: #6b7b8c;
  font-size: 32rpx;
}

.chat {
  height: calc(100vh - 180rpx);
  padding: 20rpx;
  padding-bottom: 60rpx;
  overflow-y: auto;
}

.msg {
  display: flex;
  margin-bottom: 30rpx;
  animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20rpx);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.msg.ai {
  flex-direction: row;
}

.msg.user {
  flex-direction: row-reverse;
}

.msg.ai .avatar {
  width: 72rpx;
  height: 72rpx;
  border-radius: 50%;
  margin-right: 16rpx;
}

.msg.user .avatar {
  width: 72rpx;
  height: 72rpx;
  border-radius: 50%;
  margin-left: 16rpx;
}

.bubble {
  background: #ffffff;
  border-radius: 20rpx;
  padding: 24rpx;
  max-width: 560rpx;
  box-shadow: 0 6rpx 16rpx rgba(0, 0, 0, .06);
  word-wrap: break-word;
  word-break: break-all;
  line-height: 1.6;
}

.msg.user .bubble {
  background: #10b981;
  color: #ffffff;
  border-radius: 20rpx 20rpx 8rpx 20rpx;
  box-shadow: 0 4rpx 12rpx rgba(16, 185, 129, 0.3);
}

.msg.ai .bubble {
  background: #f0f9ff;
  color: #1f2937;
  border-radius: 20rpx 20rpx 20rpx 8rpx;
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
}

.time {
  font-size: 20rpx;
  color: #999999;
  margin-top: 8rpx;
  text-align: right;
}

.msg.user .time {
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
}

.msg.ai .time {
  color: #999999;
  text-align: right;
}

.tips {
  margin: 20rpx 0;
  background: #dff1ff;
  border-radius: 20rpx;
  padding: 20rpx;
  display: flex;
  flex-direction: column;
  gap: 16rpx;
}

.tip {
  background: #ffffff;
  border-radius: 16rpx;
  padding: 20rpx;
  color: #2c3e50;
}

.composer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12rpx;
  padding: 20rpx;
  background: #ffffff;
  border-top: 1rpx solid #e5e5e5;
  box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.1);
}

.voice {
  width: 64rpx;
  text-align: center;
}

.input {
  flex: 1;
  height: 80rpx;
  background: #fff;
  border-radius: 999rpx;
  padding: 0 24rpx;
}

.plus {
  width: 64rpx;
  text-align: center;
}

.send {
  width: 80rpx;
  height: 80rpx;
  background: #10b981;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* pages/health/assistant/assistant.wxss */